package notes.java.sjms23.t13_state;


public class Client {
    public static void main(String[] args) {
        
        StateContext context = new StateContext();
        
        // 设置状态
        context.setState(new RedState());
        
        context.setState(new YellowState());
        
        context.setState(new GreenState());
    }

}
